package _zuoye;

import java.lang.reflect.Method;
        import java.util.ArrayList;

public class ww {
    public static void main(String[] args) {
        String str = "aaa...,,,...bbb..,,,.ccc...,,,ddd...eee";
        String[] arr = str.split("[.,]+");
        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }

    }

}
